import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;

public class ReadFile {

    public static void main(String[] args) {
	try {

	    URL uri = new URL("http://www.ukrstat.gov.ua/express/expr2012/09_12/234.zip");

	    URLConnection yc = uri.openConnection();

	    InputStream in = yc.getInputStream();

	    File sink = new File("C:\\11111.zip");

	    FileOutputStream out = new FileOutputStream(sink);
	    int c;

	    
	    while ((c = in.read()) != -1)
		out.write(c);

	    
	    
	    in.close();
	    in.close();
	} catch (Exception ex) {
	    ex.printStackTrace();
	}
    }

}
